home *** CD-ROM | disk | FTP | other *** search
- ;NullSoft Installer System adicional Syntax highlight Script for Twistpad
- ;1998 - 2006 (C) Carthago Software
-
- [::Header::]
- SyntaxName=NullSoft Installer System
- Extensions=nsi;nsh
- Functions=(?i)^Section "
- Spelling=0
- SpellingContexts=1;2
- Delimiters=%-+/&*=<>|~^,.:;(){}#*"][\/'@
-
- [Comment1]
- Type=StartStop
- Context=1
- Scope=0
- Priority=10
- WholeWordOnly=0
- First=;
- Last=
- Background=Default
- Foreground=008000
- italic=0
-
- [Comment2]
- Type=StartStop
- Context=1
- Scope=0
- Priority=10
- WholeWordOnly=0
- First=#
- Last=
- Background=Default
- Foreground=008000
- italic=0
-
- [Comment3]
- Type=StartStop
- Context=1
- Scope=0
- Priority=10
- WholeWordOnly=0
- First=/*
- Last=*/
- Background=Default
- Foreground=008000
- italic=0
- outline=1
-
- [Quote]
- Type=StartStop
- Context=2
- Scope=0
- Priority=10
- WholeWordOnly=0
- First="
- Last="
- Background=Default
- Foreground=808080
-
- [Keywords]
- Type=keyword
- Context=101
- Scope=0
- Priority=6
- WholeWordOnly=1
- Keyword1=Function;FunctionEnd;SectionIn;SubSection;SubSectionEnd;Page;UninstPage;AddBrandingImage;AllowRootDirInstall;AutoCloseWindow;BGGradient;BrandingText;ChangeUI;CheckBitmap;CompletedText;ComponentText;CRCCheck;DetailsButtonText;DirShow;DirText;FileErrorText;InstallButtonText;InstallColors;InstallDir;InstallDirRegKey;InstProgressFlags
- Keyword2=InstType;LicenseBkColor;LicenseData;LicenseText;MiscButtonText;SetFont;ShowInstDetails;ShowUninstDetails;SilentInstall;SilentUnInstall;SpaceTexts;SubCaption;UninstallButtonText;UninstallCaption;UninstallIcon;UninstallSubCaption;UninstallText;WindowIcon;XPStyle;SetCompress;SetCompressor;SetDatablockOptimize;SetDateSave;SetOverwrite;SetPluginUnload;AddSize;SetOutPath;OutFile;Name;Caption;Icon;LicenseForceSelection;Var;VIAddVersionKey;VIProductVersion;PageEx;PageExEnd;PageCallbacks;DirVar;FileBufSize;LicenseLangString
- Keyword3=File;Exec;ExecWait;ExecShell;Rename;Delete;RMDir;WriteRegStr;WriteRegExpandStr;WriteRegDWORD;WriteRegBin;WriteINIStr;ReadRegStr;ReadRegDWORD;ReadEnvStr;ExpandEnvStrings;DeleteRegValue;DeleteRegKey;EnumRegKey;EnumRegValue;DeleteINISec;DeleteINIStr;CreateDirectory;CopyFiles;SetFileAttributes;CreateShortCut;GetFullPathName;SearchPath;GetTempFileName;CallInstDLL
- Keyword4=RegDLL;UnRegDLL;GetDLLVersion;GetDLLVersionLocal;GetFileTime;GetFileTimeLocal;Goto;Call;Return;IfErrors;ClearErrors;SetErrors;FindWindow;SendMessage;IsWindow;IfFileExists;MessageBox;StrCmp;IntCmp;IntCmpU;Abort;Quit;GetFunctionAddress;GetLabelAddress;GetCurrentAddress;FindFirst;FindNext;FindClose;FileOpen;FileClose;FileRead;FileWrite;FileReadByte;FileWriteByte;FileSeek;SetDetailsView;SetDetailsPrint;SetAutoClose;DetailPrint;Sleep;BringToFront;HideWindow;SetShellVarContext;StrCpy;StrLen;Push;Pop;Exch;IntOp;IntFmt;Reboot;IfRebootFlag;SetRebootFlag;WriteUninstaller;LogSet;LogText;SectionSetFlags;SectionGetFlags;SectionSetText;SectionGetText;LoadLanguageFile;GetDlgItem;SetBrandingImage;CreateFont;ReserveFile;GetWindowText;ShowWindow;LangString;LangStringUP;FlushINI;SectionSetInstTypes;SectionGetInstTypes;InitPluginsDir;ReadIniStr;IfAbort;SectionSetSize;SectionGetSize;SetCurInstType;GetCurInstType;InstTypeSetText;InstTypeGetText;AllowSkipFiles;Nop;EnableWindow;SetCtlColors;IfSilent;SetSilent
- Keyword5=.onGUIInit;.onInit;.onGUIEnd;.onInstFailed;.onInstSuccess;.onMouseOverSection;.onSelChange;.onUserAbort;.onVerifyInstDir;un.onGUIInit;un.onGUIEnd;un.onInit;un.onUninstFailed;un.onUninstSuccess;un.onUserAbort
- Keyword6=Section;SectionEnd
- Keyword7=
- Keyword8=
- Keyword9=
- Keyword10=
- Keyword11=
- Background=Default
- Foreground=0000FF
- Bold=0
-
- [Directive]
- Type=keyword
- Context=102
- Scope=0
- Priority=6
- WholeWordOnly=1
- Keyword1=!system;!include;!cd;!packhdr;!define;!undef;!ifdef;!ifndef;!endif;!else;!macro;!macroend;!insertmacro;!verbose;!warning;!error;!echo;!addIncludeDir;!addplugindir
- Keyword2=
- Keyword3=
- Keyword4=
- Keyword5=
- Keyword6=
- Keyword7=
- Keyword8=
- Keyword9=
- Keyword10=
- Keyword11=
- Background=Default
- Foreground=FF00FF
- Bold=0
-
- [Parameter]
- Type=keyword
- Context=103
- Scope=0
- Priority=6
- WholeWordOnly=1
- Keyword1=custom;license;components;directory;instfiles;uninstConfirm;true;false;on;off;force;show;hide;nevershow;normal;silent;silentlog;auto;zlib;bzip2;try;ifnewer;manual;alwaysoff;RO;SW_SHOWNORMAL;SW_SHOWMAXIMIZED;SW_SHOWMINIMIZED;HKCR;HKEY_CLASSES_ROOT;HKLM;HKEY_LOCAL_MACHINE;HKCU;HKEY_CURRENT_USER;HKU;HKEY_USERS;HKCC;HKEY_CURRENT_CONFIG;HKDD;HKEY_DYN_DATA;HKPD;HKEY_PERFORMANCE_DATA
- Keyword2=FILE_ATTRIBUTE_NORMAL;ARCHIVE;FILE_ATTRIBUTE_ARCHIVE;HIDDEN;FILE_ATTRIBUTE_HIDDEN;OFFLINE;FILE_ATTRIBUTE_OFFLINE;READONLY;FILE_ATTRIBUTE_READONLY;SYSTEM;FILE_ATTRIBUTE_SYSTEM,TEMPORARY;FILE_ATTRIBUTE_TEMPORARY;MB_OK;MB_OKCANCEL;MB_ABORTRETRYIGNORE;MB_RETRYCANCEL;MB_YESNO;MB_YESNOCANCEL;MB_ICONEXCLAMATION;MB_ICONINFORMATION;MB_ICONQUESTION;MB_ICONSTOP;MB_TOPMOST;MB_SETFOREGROUND;MB_RIGHT;MB_DEFBUTTON1;MB_DEFBUTTON2;MB_DEFBUTTON3;MB_DEFBUTTON4;IDABORT;IDCANCEL;IDIGNORE;IDNO;IDOK;IDRETRY;IDYES;current;all;none;listonly;textonly;both;lastused;checkbox;radiobuttons;/lang;/TRIMLEFT;/TRIMRIGHT;/TRIMCENTER;/windows;/NOCUSTOM;/CUSTOMSTRING;/COMPONENTSONLYONCUSTOM;/e;/REBOOTOK;/nonfatal;/a;/r;/oname;/ifempty;/NOUNLOAD;/FILESONLY;/SHORT;/ITALIC;/UNDERLINE;/STRIKE;/TIMEOUT;/IMGID;/RESIZETOFIT;/components;/silent
- Keyword3=
- Keyword4=
- Keyword5=
- Keyword6=
- Keyword7=
- Keyword8=
- Keyword9=
- Keyword10=
- Keyword11=
- Background=Default
- Foreground=FF8000
- Bold=0
-
- [Variable]
- Type=keyword
- Context=104
- Scope=0
- Priority=6
- WholeWordOnly=1
- Keyword1=$0;$1;$2;$3;$4;$5;$6;$7;$8;$9;$R0;$R1;$R2;$R3;$R4;$R5;$R6;$R7;$R8;$R9;$INSTDIR;$OUTDIR;$CMDLINE;$PROGRAMFILES;$DESKTOP;$EXEDIR;$WINDIR;$SYSDIR;$TEMP;$STARTMENU;$SMPROGRAMS;$SMSTARTUP;$QUICKLAUNCH;$HWNDPARENT;$LANGUAGE;$PLUGINSDIR;
- Keyword2=
- Keyword3=
- Keyword4=
- Keyword5=
- Keyword6=
- Keyword7=
- Keyword8=
- Keyword9=
- Keyword10=
- Keyword11=
- Background=Default
- Foreground=808080
- Bold=0
-
- [Sections]
- Type=StartStop
- Context=3
- Scope=0
- Priority=3
- WholeWordOnly=1
- First=Section
- Last=SectionEnd
- Background=Default
- Foreground=Default
- ;0000FF
- BeginParagraph=1
- Outline=1
-
- [Sections2]
- Type=StartStop
- Context=3
- Scope=4
- Priority=3
- WholeWordOnly=1
- First=Section
- Last=SectionEnd
- Background=Default
- Foreground=Default
- ;0000FF
- BeginParagraph=1
- Outline=1
-
- [Sections1]
- Type=StartStop
- Context=4
- Scope=0
- Priority=4
- WholeWordOnly=1
- First=SubSection
- Last=SubSectionEnd
- Background=Default
- Foreground=Default
- BeginParagraph=1
- Outline=1
- smart=1
-
- [Function]
- Type=StartStop
- Context=5
- Scope=0
- Priority=4
- WholeWordOnly=1
- First=Function
- Last=FunctionEnd
- Background=Default
- Foreground=Default
- BeginParagraph=1
- Outline=1
- smart=1
-
-